package com.koron.car.web.applycar.bean.entity;

import com.koron.car.web.common.Sortable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("用车申请随行人员")
public class CarEntourage implements Serializable, Sortable {

    private static final long serialVersionUID = 129417080451611285L;

    @ApiModelProperty("id，主键")
    private String id;

    @ApiModelProperty("用车申请id，w_cm_car_apply.id")
    private String applyId;

    @ApiModelProperty("随行人id")
    private String userId;

    @ApiModelProperty("随行人名字")
    private String userName;

    @ApiModelProperty("是否是领导,字典：是、否")
    private Integer leader;

    @ApiModelProperty("序号")
    private Integer sort;

    public CarEntourage() {}

    public CarEntourage(String applyId, String userId, String userName, Integer leader) {
        this.applyId = applyId;
        this.userId = userId;
        this.userName = userName;
        this.leader = leader;
    }
}
